QWidget {
    background-color: #f0f0f0f0;
}

QLabel {
    color: rgba(51, 51, 51, 128); /* 50% 透明度 */
    font-size: 14px;
    transition: color 0.3s ease; /* 添加颜色过渡效果 */
}

QLineEdit {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 5px;
    transition: border-color 0.3s ease; /* 添加边框颜色过渡效果 */
}

QPushButton {
    background-color: #007bff;
    color: rgba(255, 255, 255, 192); /* 75% 透明度 */
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    transition: background-color 0.3s ease; /* 添加背景颜色过渡效果 */
}

QPushButton:hover {
    background-color: #0056b3;
}

QListWidget {
    background-color: #fff;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease; /* 添加边框颜色过渡效果 */
}

QComboBox {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 5px;
    transition: border-color 0.3s ease; /* 添加边框颜色过渡效果 */
}

body, html {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    background: url('https://api.hungaa.ggff.net/1.jpg') no-repeat center center fixed; 
    background-size: cover;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8); /* 半透明背景 */
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative; /* 确保z-index有效 */
    z-index: 1; /* 确保容器在背景之上 */
    animation: floatIn 0.5s ease-out forwards;
}

@keyframes floatIn {
    0% {
        transform: translateY(-20px) scale(0.95);
        opacity: 0;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

header {
    text-align: center;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.8); /* 半透明背景 */
    border-bottom: 1px solid #eee;
}

header h1 {
    margin: 0;
    color: #5c67f2;
    font-size: 2.5em;
}

header p {
    color: #666;
    font-size: 1em;
    max-width: 600px;
    margin: 10px auto;
}

.logo {
    width: 100px; /* 固定大小 */
    height: auto;
    margin: 10px auto;
    border-radius: 50%; /* 圆形图标 */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.logo:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.download-section {
    padding: 20px;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.8); /* 半透明背景 */
    border-radius: 12px;
    text-align: center;
}

.download-button {
    display: inline-block;
    background: #5c67f2;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s, transform 0.3s;
    font-size: 1em;
    border: none;
    cursor: pointer;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.download-button:hover {
    background: #4a54e1;
}

.image-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.image-slide {
    display: flex;
    transition: transform 0.5s ease;
}

.image-slide img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.image-slide img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.prev,.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    transition: background-color 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.prev:hover,.next:hover {
    background-color: rgba(255, 255, 255, 1);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    header p {
        font-size: 14px;
    }

  .download-button {
        padding: 10px 20px;
    }
}